<!-- BEGIN:main -->
<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <base href="{INDEX}" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

        <meta name="viewport" content="width=device-width,initial-scale=1"/>
        <link rel="stylesheet" href="./templates/default/css/styles.css" type="text/css" />

        <link rel="stylesheet" href="./templates/default/css/jquery.mobile-1.3.1.min.css" />
         <script type="text/javascript" src="./templates/default/javascript/jquery-1.9.1.min.js"></script>
        
        <script type="text/javascript" src="./templates/default/javascript/jquery.mobile-1.3.1.min.js"></script>
        <script type="text/javascript" src="./templates/default/javascript/libraries.js"></script>
        <script type="text/javascript" src="./templates/default/javascript/javascript.js"></script>
    
    <script>
            function submitDefault(action) {
                var dataString = 'hdAction=' + action;
                $.ajax({
                    url: '',
                    type: "POST",
                    data: dataString,
                    cache: false,
                    success: function(data) {
                        if (data.trim() == 'OK') {
                            window.location.href = ".";
                        }
                    }
                });
            }
        </script>
    </head>
    <body >     
        <div data-role="page" class="type-interior" >  
            <form id="frmDefault" name="frmDefault" action="" method="post" >
                <input type="hidden" name="hdAction" id="hdAction" />
                <div data-role="panel" id="navpanel" data-theme="c" data-display="overlay" data-position="left" style="margin-top:-15px;">                     
                     <!-- BEGIN: DANH_MUC -->
                    <div data-role="collapsible" data-inset="false" data-theme="b" >
                        <h3 style="padding-top: 0px;">{SFG_NAME}</h3>
                        <ul data-role="listview">
                             <!-- BEGIN: CHUC_NANG-->
                            <li><a href="{SF_URL}">{SF_NAME}</a></li>                         
                            <!-- END: CHUC_NANG-->
                        </ul>
                    </div><!-- /collapsible -->
                     <!-- END: DANH_MUC -->
                </div>
                <div id="header" data-role="header" data-theme="b" data-position="fixed">
                    <a id="bars-button" data-icon="bars"  class="ui-btn-left"  href="#navpanel">Chức năng</a>
                    <h1></h1>  
                    <a href="javascript:void()" onclick="submitDefault('logout');" data-role="button"  data-theme="b">Đăng xuất</a>
                </div>	
            </form>
            {ROUTER_FILE}
        </div> 
    </body>
</html>
<!-- END:main -->
